
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>单元测试 · book for nxos</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="nxos development team">
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    
    <link rel="prev" href="toolchains.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="http://book-os.org" target="_blank" class="custom-link">bookos</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        
    
        <li class="chapter " data-level="1.1" >
            
                <span>
            
                    
                    NXOS文档中心
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1" >
            
                <span>
            
                    
                    简介
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.1.1" data-path="../">
            
                <a href="../">
            
                    
                    NXOS 简介
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.2" >
            
                <span>
            
                    
                    快速上手
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.2.1" data-path="quick-start.html">
            
                <a href="quick-start.html">
            
                    
                    虚拟平台运行
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.3" >
            
                <span>
            
                    
                    内核
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.3.1" data-path="../programing-manual/base/framework.html">
            
                <a href="../programing-manual/base/framework.html">
            
                    
                    整体框架
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.2" data-path="../programing-manual/base/start.html">
            
                <a href="../programing-manual/base/start.html">
            
                    
                    启动流程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.3" data-path="../programing-manual/mm/mm.html">
            
                <a href="../programing-manual/mm/mm.html">
            
                    
                    内存管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.3.3.1" data-path="../programing-manual/mm/buddy.html">
            
                <a href="../programing-manual/mm/buddy.html">
            
                    
                    buddy伙伴算法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.3.2" data-path="../programing-manual/mm/heap.html">
            
                <a href="../programing-manual/mm/heap.html">
            
                    
                    heapCache虚拟内存管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.3.3" data-path="../programing-manual/mm/vmspace.html">
            
                <a href="../programing-manual/mm/vmspace.html">
            
                    
                    vmspace虚拟地址空间
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.3.4" data-path="../programing-manual/sched/sched.html">
            
                <a href="../programing-manual/sched/sched.html">
            
                    
                    调度管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.3.4.1" data-path="../programing-manual/sched/thread.html">
            
                <a href="../programing-manual/sched/thread.html">
            
                    
                    线程管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.3.4.2" data-path="../programing-manual/sched/smp.html">
            
                <a href="../programing-manual/sched/smp.html">
            
                    
                    SMP多核调度
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.3.5" data-path="../programing-manual/process/process.html">
            
                <a href="../programing-manual/process/process.html">
            
                    
                    进程管理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.3.5.1" data-path="../programing-manual/process/syscall.html">
            
                <a href="../programing-manual/process/syscall.html">
            
                    
                    系统调用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.3.6" data-path="../programing-manual/interrupt/irq.html">
            
                <a href="../programing-manual/interrupt/irq.html">
            
                    
                    中断系统
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.3.6.1" data-path="../programing-manual/interrupt/delay_queue.html">
            
                <a href="../programing-manual/interrupt/delay_queue.html">
            
                    
                    延迟队列
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.3.7" data-path="../programing-manual/timer/timer.html">
            
                <a href="../programing-manual/timer/timer.html">
            
                    
                    定时器
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.4" >
            
                <span>
            
                    
                    内核移植
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.4.1" data-path="../programing-manual/port/riscv/riscv.html">
            
                <a href="../programing-manual/port/riscv/riscv.html">
            
                    
                    riscv架构移植
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.5" >
            
                <span>
            
                    
                    平台支持
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.5.1" data-path="../programing-manual/platform/i386.html">
            
                <a href="../programing-manual/platform/i386.html">
            
                    
                    i386
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.5.2" data-path="../programing-manual/platform/qemu_riscv64.html">
            
                <a href="../programing-manual/platform/qemu_riscv64.html">
            
                    
                    qemu_riscv64
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.5.3" data-path="../programing-manual/platform/k210.html">
            
                <a href="../programing-manual/platform/k210.html">
            
                    
                    k210
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.5.4" data-path="../programing-manual/platform/d1.html">
            
                <a href="../programing-manual/platform/d1.html">
            
                    
                    d1-nezha
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.5.5" data-path="../programing-manual/platform/hifive_unmached.html">
            
                <a href="../programing-manual/platform/hifive_unmached.html">
            
                    
                    hifive unmached
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.6" >
            
                <span>
            
                    
                    用户态服务和驱动框架
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.6.1" data-path="../programing-manual/user/userver.html">
            
                <a href="../programing-manual/user/userver.html">
            
                    
                    用户态服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.2" data-path="../programing-manual/user/udriver.html">
            
                <a href="../programing-manual/user/udriver.html">
            
                    
                    用户态驱动
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.6.3" data-path="../programing-manual/user/ubpf.html">
            
                <a href="../programing-manual/user/ubpf.html">
            
                    
                    UBPF
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.7" >
            
                <span>
            
                    
                    用户接口
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.7.1" data-path="../programing-manual/user/api.html">
            
                <a href="../programing-manual/user/api.html">
            
                    
                    API设计
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.1.8" >
            
                <span>
            
                    
                    编程开发
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.1.8.1" data-path="code-style.html">
            
                <a href="code-style.html">
            
                    
                    代码风格
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.2" data-path="commit-rule.html">
            
                <a href="commit-rule.html">
            
                    
                    提交规则
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.3" data-path="menuconfig.html">
            
                <a href="menuconfig.html">
            
                    
                    菜单配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.1.8.4" data-path="toolchains.html">
            
                <a href="toolchains.html">
            
                    
                    工具链
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.1.8.5" data-path="utest.html">
            
                <a href="utest.html">
            
                    
                    单元测试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >单元测试</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x6D4B;&#x8BD5;">&#x6D4B;&#x8BD5;</h1>
<h2 id="&#x5355;&#x5143;&#x6D4B;&#x8BD5;">&#x5355;&#x5143;&#x6D4B;&#x8BD5;</h2>
<p>&#x9488;&#x5BF9;&#x51FD;&#x6570;&#x5355;&#x5143;&#x8FDB;&#x884C;&#x6D4B;&#x8BD5;&#xFF0C;&#x6D4B;&#x8BD5;&#x51FD;&#x6570;&#x7684;&#x57FA;&#x672C;&#x529F;&#x80FD;&#xFF0C;&#x7A33;&#x5B9A;&#x6027;&#xFF0C;&#x5065;&#x58EE;&#x6027;&#xFF0C;&#x8986;&#x76D6;&#x7387;&#x3002;
&#x7740;&#x91CD;&#x70B9;&#xFF1A;&#x53C2;&#x6570;&#xFF0C;&#x8FD4;&#x56DE;&#x503C;&#xFF0C;&#x529F;&#x80FD;&#x3002;</p>
<pre><code class="lang-c"><span class="hljs-comment">/* &#x6700;&#x5C0F;&#x7684;&#x5355;&#x5143;&#x6D4B;&#x8BD5; */</span>
NX_TEST(TestUnitName)
{
    ASSERT_TRUE(...)
    ASSERT_FALSE(...)

    EXCEPT_TRUE(...)
    EXCEPT_FALSE(...)
}

<span class="hljs-comment">/* &#x8FDB;&#x5165;&#x5355;&#x5143;&#x65F6;&#x6267;&#x884C; */</span>
NX_TEST_SETUP(TestUnitName)
{

}

<span class="hljs-comment">/* &#x9000;&#x51FA;&#x5355;&#x5143;&#x65F6;&#x6267;&#x884C; */</span>
NX_TEST_CLEAN(TestUnitName)
{

}

<span class="hljs-comment">/* &#x5355;&#x5143;&#x6D4B;&#x8BD5;&#x8868;&#xFF0C;&#x586B;&#x5199;&#x8981;&#x6D4B;&#x8BD5;&#x7684;&#x5355;&#x5143; */</span>
NX_TEST_TABLE(TestCaseName)
{
    NX_TEST_UNIT(TestUnitName), <span class="hljs-comment">/* &#x4E0D;&#x5E26;setup&#x548C;clean&#x7684;&#x5355;&#x5143; */</span>
    NX_TEST_UNIT_SETUP(TestUnitName), <span class="hljs-comment">/* &#x5E26;setup&#x7684;&#x5355;&#x5143; */</span>
    NX_TEST_UNIT_CLEAN(TestUnitName), <span class="hljs-comment">/* &#x5E26;clean&#x7684;&#x5355;&#x5143; */</span>
    NX_TEST_UNIT_SETUP_CLEAN(TestUnitName), <span class="hljs-comment">/* &#x5E26;setup&#x548C;clean&#x7684;&#x5355;&#x5143; */</span>
};

<span class="hljs-comment">/* &#x8FDB;&#x5165;&#x4E00;&#x4E2A;&#x5355;&#x5143;&#x6D4B;&#x8BD5;&#x65F6;&#x6267;&#x884C; */</span>
NX_TEST_CASE_SETUP(TestCaseName)
{
    <span class="hljs-keyword">return</span> NX_EOK;
}

<span class="hljs-comment">/* &#x9000;&#x51FA;&#x4E00;&#x4E2A;&#x5355;&#x5143;&#x6D4B;&#x8BD5;&#x65F6;&#x6267;&#x884C; */</span>
NX_TEST_CASE_CLEAN(TestCaseName)
{
    <span class="hljs-keyword">return</span> NX_EOK;
}

<span class="hljs-comment">/* &#x5B9A;&#x4E49;&#x4E00;&#x4E2A;&#x5355;&#x5143;&#x6D4B;&#x8BD5; */</span>
NX_TEST_CASE(TestCaseName);
</code></pre>
<p>&#x4E3E;&#x4F8B;&#xFF1A;&#x5355;&#x5143;&#x6D4B;&#x8BD5;&#x81EA;&#x8EAB;&#x6D4B;&#x8BD5;</p>
<pre><code class="lang-c">NX_TEST(Test)
{
    NX_ASSERT_TRUE(<span class="hljs-number">1</span>);
    NX_ASSERT_TRUE(NX_True);
    NX_ASSERT_FALSE(<span class="hljs-number">0</span>);
    NX_ASSERT_FALSE(NX_False);
}

NX_TEST(Test1)
{
    NX_ASSERT_EQ(<span class="hljs-number">1</span>, <span class="hljs-number">1</span>);
    NX_ASSERT_NE(<span class="hljs-number">0</span>, <span class="hljs-number">1</span>);

    NX_ASSERT_LT(<span class="hljs-number">3</span>, <span class="hljs-number">5</span>);
    NX_ASSERT_LE(<span class="hljs-number">3</span>, <span class="hljs-number">3</span>);
    NX_ASSERT_LE(<span class="hljs-number">3</span>, <span class="hljs-number">4</span>);
    NX_ASSERT_GT(<span class="hljs-number">4</span>, <span class="hljs-number">3</span>);
    NX_ASSERT_GE(<span class="hljs-number">3</span>, <span class="hljs-number">3</span>);

    <span class="hljs-keyword">char</span> *p = NX_NULL;
    NX_ASSERT_NULL(p);
    <span class="hljs-keyword">char</span> *q = (<span class="hljs-keyword">char</span> *) <span class="hljs-number">0x1000</span>;
    NX_ASSERT_NOT_NULL(q);
}

NX_TEST(Test2)
{
    NX_ASSERT_IN_RANGE(<span class="hljs-number">1</span>, <span class="hljs-number">0</span>, <span class="hljs-number">5</span>);
    NX_ASSERT_IN_RANGE(<span class="hljs-number">4</span>, <span class="hljs-number">0</span>, <span class="hljs-number">5</span>);
    NX_ASSERT_IN_RANGE(<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">5</span>);
    NX_ASSERT_IN_RANGE(<span class="hljs-number">5</span>, <span class="hljs-number">1</span>, <span class="hljs-number">5</span>);

    NX_ASSERT_NI_RANGE(<span class="hljs-number">1</span>, <span class="hljs-number">2</span>, <span class="hljs-number">5</span>);
    NX_ASSERT_NI_RANGE(<span class="hljs-number">0</span>, <span class="hljs-number">1</span>, <span class="hljs-number">5</span>);
    NX_ASSERT_NI_RANGE(<span class="hljs-number">6</span>, <span class="hljs-number">1</span>, <span class="hljs-number">5</span>);
    NX_ASSERT_NI_RANGE(<span class="hljs-number">5</span>, <span class="hljs-number">1</span>, <span class="hljs-number">4</span>);
}

NX_TEST(Test3)
{
    NX_ASSERT_STREQ(<span class="hljs-string">&quot;hello&quot;</span>, <span class="hljs-string">&quot;hello&quot;</span>);
    <span class="hljs-keyword">char</span> *s = <span class="hljs-string">&quot;world!&quot;</span>;
    NX_ASSERT_STREQ(s, <span class="hljs-string">&quot;world!&quot;</span>);

    <span class="hljs-keyword">char</span> buf0[<span class="hljs-number">32</span>] = {<span class="hljs-number">0x10</span>, <span class="hljs-number">0x20</span>, <span class="hljs-number">0x30</span>,};
    <span class="hljs-keyword">char</span> buf1[<span class="hljs-number">32</span>] = {<span class="hljs-number">0x10</span>, <span class="hljs-number">0x20</span>, <span class="hljs-number">0x30</span>,};
    NX_ASSERT_BUFEQ(buf0, buf1, <span class="hljs-number">32</span>);

    NX_ASSERT_STRNE(<span class="hljs-string">&quot;hello&quot;</span>, <span class="hljs-string">&quot;world&quot;</span>);
    s = <span class="hljs-string">&quot;hello!&quot;</span>;
    NX_ASSERT_STRNE(s, <span class="hljs-string">&quot;world!&quot;</span>);

    <span class="hljs-keyword">char</span> buf2[<span class="hljs-number">32</span>] = {<span class="hljs-number">0x40</span>, <span class="hljs-number">0x50</span>, <span class="hljs-number">0x60</span>,};
    NX_ASSERT_BUFNE(buf1, buf2, <span class="hljs-number">32</span>);
}

NX_TEST_SETUP(Test)
{
    NX_ASSERT_TRUE(<span class="hljs-number">1</span>);
}

NX_TEST_CLEAN(Test)
{
    NX_ASSERT_FALSE(<span class="hljs-number">0</span>);
}

NX_TEST_TABLE(UTest)
{
    NX_TEST_UNIT(Test),
    NX_TEST_UNIT_SETUP_CLEAN(Test),
    NX_TEST_UNIT(Test1),
    NX_TEST_UNIT(Test2),
    NX_TEST_UNIT(Test3),
};

NX_TEST_CASE_SETUP(UTest)
{
    NX_ASSERT_TRUE(<span class="hljs-number">1</span>);
    <span class="hljs-keyword">return</span> NX_EOK;
}

NX_TEST_CASE_CLEAN(UTest)
{
    NX_ASSERT_FALSE(<span class="hljs-number">0</span>);
    <span class="hljs-keyword">return</span> NX_EOK;
}

NX_TEST_CASE(UTest);
</code></pre>
<p>&#x6700;&#x7CBE;&#x7B80;&#x6846;&#x67B6;&#xFF1A;</p>
<pre><code class="lang-c">NX_TEST(yyy)
{
}

NX_TEST_TABLE(xxx)
{
    NX_TEST_UNIT(yyy),
};

NX_TEST_CASE(xxx);
</code></pre>
<h2 id="&#x4F7F;&#x7528;&#x65B9;&#x6CD5;">&#x4F7F;&#x7528;&#x65B9;&#x6CD5;</h2>
<p>&#x5728;menuconfig&#x4E2D;&#xFF0C;&#x6253;&#x5F00;&#x5355;&#x5143;&#x6D4B;&#x8BD5;&#x529F;&#x80FD;&#xFF0C;&#x9009;&#x53D6;&#x9700;&#x8981;&#x6D4B;&#x8BD5;&#x7684;&#x5355;&#x5143;&#xFF0C;&#x9000;&#x51FA;&#x4FDD;&#x5B58;&#x3002;
&#x5728;&#x547D;&#x4EE4;&#x884C;&#x4E2D;&#x8F93;&#x5165;&#x547D;&#x4EE4;&#x5373;&#x53EF;&#x5F00;&#x59CB;&#x6D4B;&#x8BD5;&#xFF1A;</p>
<pre><code>make run TC=y # TC&#x662F;TestCase&#x7684;&#x7F29;&#x5199;&#xFF0C;&#x8868;&#x793A;&#x542F;&#x7528;&#x6D4B;&#x8BD5;&#x6848;&#x4F8B;&#x3002;
</code></pre>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="toolchains.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: 工具链">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"单元测试","level":"1.1.8.5","depth":3,"previous":{"title":"工具链","level":"1.1.8.4","depth":3,"path":"tutorial/toolchains.md","ref":"tutorial/toolchains.md","articles":[]},"dir":"ltr"},"config":{"plugins":[],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy BookOS-developers 2022","modify_label":"修订时间：","modify_format":"YYYY-MM-DD"},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","author":"nxos development team","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"book for nxos","language":"zh-hans","links":{"sidebar":{"bookos":"http://book-os.org"}},"gitbook":"3.2.3","description":"document for nxos kernel"},"file":{"path":"tutorial/utest.md","mtime":"2022-05-03T18:23:23.524Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-05-06T18:41:01.186Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

